Expand description
Rust GDK 3 bindings
Project site is here.
Rust bindings and wrappers for GDK 3, part of gtk3-rs.
GDK 3.22 is the lowest supported version for the underlying library.
Minimum supported Rust version
Currently, the minimum supported Rust version is 1.63.0
.
Documentation
Using
We recommend using crates from crates.io, as demonstrated here.
If you want to track the bleeding edge, use the git dependency instead:
[dependencies]
gdk = { git = "https://github.com/gtk-rs/gtk3-rs.git", package = "gdk" }
Avoid mixing versioned and git crates like this:
[dependencies]
gdk = "0.13"
gdk = { git = "https://github.com/gtk-rs/gtk3-rs.git", package = "gdk" }
See Also
License
gdk is available under the MIT License, please refer to it.
Re-exports
Modules
Structs
A generic GDK event.
Enums
Constants
The middle button.
The primary button. This is typically the left mouse button, or the right button in a left-handed setup.
The secondary button. This is typically the right mouse button, or the left button in a left-handed setup.
Traits
A helper trait implemented by all event subtypes.
Functions
Informs this crate that GDK has been initialized and the current thread is the main one.